package com.hr.pojo;
import java.util.Date;
public class  Notice {
		private Long id;		//id
	    private String title;	//标题
	    private String content;	//内容
	    private Date   time;	//时间
	    public Notice(String title, String content,Date time) {
	        this.title = title;
	        this.content = content;
	    }

	    /** default constructor */
	    public Notice() {
	    }

	    public Long getId() {
	        return this.id;
	    }

	    public void setId(Long id) {
	        this.id = id;
	    }

	    public String getTitle() {
	        return this.title;
	    }

	    public void setTitle(String title) {
	        this.title = title;
	    }

	    public String getContent() {
	        return this.content;
	    }

	    public void setContent(String content) {
	        this.content = content;
	    }
	    
	    public Date getTime() {
	        return this.time;
	    }

	    public void setTime(Date time) {
	        this.time = time;
	    }

	    public String toString() {
	        StringBuffer toStr = new StringBuffer();
	        toStr.append("[Stipend] = [\n");
	        toStr.append("    id = " + this.id + ";\n");
	        toStr.append("    title = " + this.title + ";\n");
	        toStr.append("    content = " + this.content + ";\n");
	        toStr.append("    time = " + this.time + ";\n");
	        toStr.append("    ];\n");
	        return toStr.toString();
	    }
}
